package com.xyht.medicine_management_system.modules.user.service;

import com.xyht.medicine_management_system.common.commonReturn.ResponseResult;
import com.xyht.medicine_management_system.modules.user.entity.MmsRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.medicine_management_system.modules.user.entity.req.MmsRoleReq;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-11-12
 */
public interface MmsRoleService extends IService<MmsRole> {
        ResponseResult addRole(MmsRoleReq mmsRoleReq);
        ResponseResult deleteRole(MmsRoleReq mmsRoleReq);
        ResponseResult updateRole(MmsRoleReq mmsRoleReq);
        ResponseResult getRoleList(String searchStr,Integer pageNum,Integer pageSize);
        ResponseResult getRoleDetail(String roleId);


}
